<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>生成无原型的对象</title>
  </head>
  <body>
    <h3>生成无原型的对象</h3>
    
    <script>
      let obj = {};
      console.dir(obj);

      let obj2 = Object.create(null);
      console.dir(obj2);
    </script>
  </body>
</html>
